package io.github.uicdb.badskill;

import net.minecraft.data.CachedOutput;
import net.minecraft.data.DataGenerator;
import net.minecraft.world.entity.ai.attributes.AttributeModifier;
import net.minecraft.world.entity.ai.attributes.Attributes;
import net.minecraft.world.item.Items;


public class SkillDumper extends SkillOptionDataProvider {
    public static SkillOption option0;
    public static SkillOption option1;
    public static SkillOption option2;

    public SkillDumper(DataGenerator generator) {
        super(generator, BadSkill.MODID, true);
    }

    @Override
    protected void generate(CachedOutput output) {
        option0 = add("option0").item(Items.NETHER_STAR).modifier(Attributes.MAX_HEALTH, 20, AttributeModifier.Operation.ADDITION).build();
        option1 = add("option1").exp(10).only("only").modifier(Attributes.ATTACK_DAMAGE, 5, AttributeModifier.Operation.ADDITION).build();
        option2 = add("option2").score("player.kill", 10).modifier(Attributes.LUCK, 10, AttributeModifier.Operation.ADDITION).build();
    }
}
